<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章列表--layui后台管理模板 2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
    <link href="../../layui/css/dtree.css" media="all" rel="stylesheet"  />
    <link href="../../layui/lay/exts/font/dtreefont.css" media="all" rel="stylesheet" />
</head>
<body class="childrenBody">
    <div class="layui-row">
        <blockquote class="layui-elem-quote quoteBox">
            <div class="layui-inline">
                说明：选中节点右键菜单操作
            </div>
        </blockquote>
    </div>
        <div class="layui-row">
            <div class="layui-col-md3 layui-col-sm3">
                <div class="layui-card layui-border-box">
                    <div class="layui-card-header layui-bg-gray">APP类别</div>
                    <div class="layui-card-body">
                        <ul id="CategoryTree" class="dtree" data-id="0"></ul>
                    </div>
                </div>
                
            </div>
            <div class="layui-col-md9 layui-col-sm9">
                <form class="layui-form layui-row" lay-filter="cateForm">
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label">上级类别</label>
                        <div class="layui-input-block">
                            <!-- 隐藏上级类别编号 -->
                            <input type="text"  name="ParentId" hidden value="0" />
                            <input type="text" name="ParentName" class="layui-input"  lay-filter="ParentId" value="无" readonly lay-verify="parent">
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-block">
                            <!-- 隐藏Id -->
                            <input type="text" name="Id" hidden />
                            <input type="text" name="Name" class="layui-input" lay-filter="Name" lay-verify="required" placeholder="请输入标题">
                        </div>
                    </div>
                   
                    <hr>
                    <div class="layui-center">
                        
                        <button class="layui-btn layui-btn-sm" lay-filter="save" lay-submit>
                            <i class="layui-icon">&#xe609;</i>修改
                        </button>
                    </div>
                </form>
            </div>
        </div>

        <script type="text/javascript" src="../../layui/layui.js"></script>
        <script src="./index.js"></script>
</body>
</html>